package com.globallogic.vkulyk.SSHTool;

import static org.junit.Assert.*;
import org.junit.*;

public class Unit_SocketDataKeeper extends SSHToolTester {
	private static final String PORT_NOT_EQUALS = "Port not equals";
	private static final String HOST_NOT_EQUALS = "Host not equals";
	private SocketDataKeeper socketData = null;

	@Before
	public void setup() {
		setVarsFromPropertiesFile("testData/testing.properties");
		socketData = new SocketDataKeeper(host, port);
	}

	@Test
	public void shouldReturnHost_whenCallGetHost() {
		assertEquals(HOST_NOT_EQUALS, host, socketData.getHost());
	}

	@Test
	public void shouldReturnPort_whenCallGetPort() {
		assertEquals(PORT_NOT_EQUALS, port, socketData.getPort());
	}

}
